Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 2 - Providers / Providers Reference
Functions / Controlling a Provider's Mode of Operation


OTIsSynchronous

Returns a provider's current mode of execution.

C INTERFACE
Boolean OTIsSynchronous(ProviderRef ref);
C++ INTERFACE
Boolean TProvider::IsSynchronous();
PARAMETERS
ref
The provider reference for the provider whose mode of execution you want to obtain.
DESCRIPTION
The OTIsSynchronous function returns true if a provider is in synchronous mode or returns false if the provider is in asynchronous mode.

SEE ALSO
To set a provider to synchronous mode, call the OTSetSynchronous function (page 2-28). To set a provider to asynchronous mode, call the OTSetAsynchronous function (page 2-29).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996